package com.treasure.domain.domain;

import com.treasure.common.enums.SmsUsageEnum;
import com.treasure.domain.domain.entity.EmailMessage;
import com.treasure.domain.domain.entity.document.SmsMessage;

import java.io.IOException;

/**
 * @author sunhongmin
 * @date 2023/11/5 11:36
 * @description 消息发送领域服务
 */
public interface MessageSenderDomainService {

    void sendEmailMessage(String invitationCode, EmailMessage emailMessage, SmsUsageEnum smsUsage) throws IOException;


    void sendSmsMessage(SmsMessage smsMessage,SmsUsageEnum smsUsage) throws IOException;

}
